package org.jsola.hr.dto.excel;


import lombok.Data;

/**
 * 用来指定某一行某一列加什么批注或者下拉选项
 * @author excel坐标
 */
@Data
public class ExcelAxisDTO {
    public ExcelAxisDTO(Integer rowIndex, Integer columnIndex) {
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
    }

    public ExcelAxisDTO(Integer rowIndex, Integer columnIndex, String annotation) {
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
        this.annotation = annotation;
    }

    public ExcelAxisDTO(Integer rowIndex, Integer columnIndex, String[] dropDown) {
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
        this.dropDown = dropDown;
    }

    /**
     * 行坐标
     */
    private Integer rowIndex;

    /**
     * 列坐标
     */
    private Integer columnIndex;

    /**
     * 批注
     */
    private String annotation;

    /**
     * 下拉
     */
    private String[] dropDown;
}
